package vip.xiaonuo.biz.modular.config.util;

import org.bouncycastle.cms.jcajce.JcaX509CertSelectorConverter;

public class DateUtil {
    public static String week(int a) {
     String week = "";
        switch(a){
            case 2:
                week = "Monday";
                break;
            case 3:
                week = "Tuesday";
                break;
            case 4:
                week = "Wednesday";
                break;
            case 5:
                week = "Thursday";
                break;
            case 6:
                week = "Friday";
                break;
            case 7:
                week = "Saturday";
                break;
            case 1:
                week = "Sunday";
                break;


        }

       return week;
    }


    public static void main(String[] args) {
        System.out.println(week(1));
    }
}
